package com.domain.dto;

import com.context.ManagerContext;
import com.domain.po.ProductPrice;
import com.domain.po.Proxy;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductsDTO implements Serializable {

    //商品id
    private Long productId;
    //商品名称
    private String productName;
    //商品初始库存量
    private Integer inStock;
    //商品上线时间
    private LocalDate timeOn;
    //商品下线时间
    private LocalDate timeOff;
    //商品状态
    private Integer productState;

    //商品头图
    private String productImage;
    //商品文字描述
    private String description;
    //商品类型
    private Integer productType;
    //商品详情
    private String richText;
    //商品分类
    private Long productCategoryId;
    //不发货地区
    private List<String> cityBlacklist;
    //投放城市
    private List<String> cityWhitelist;

    //兑换类型
    private List<ProductPrice> productExchangeType;
    //兑换上限
    private Integer exchangeRestrictions;

    //代理人集合
    private List<Proxy> proxys;


    //供应商名称
    private String supplierName;
    //供应商联系方式
    private String supplierPhone;
    //服务保障
    private String supplierSafeguard;

    //登录人id
    private Long managerId ;
    //登陆人姓名
    private String managerName ;
}
